var a = getApp();

Page({
    data: {},
    onLoad: function(t) {
        console.log(t);
        var e = this;
        this.setData({
            space: t.space,
            saidId: t.saidId,
            teamId: t.teamId || "",
            token: wx.getStorageSync("log")
        }), 1 == this.data.space && this.setData({
            url: "doctor/education/personageMemberSaid/" + this.data.token + "/" + this.data.saidId
        }), 2 == this.data.space && this.setData({
            url: "doctor/education/teamMemberSaid/" + this.data.teamId + "/" + this.data.saidId
        }), wx.request({
            url: a.globalData.dic + this.data.url,
            success: function(a) {
                console.log(a), 200 == a.data.code && e.setData({
                    patientList: a.data.data
                });
            }
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {}
});